﻿using SqlSugar;

namespace FastEasy.Model.Models
{
    ///<summary>
    ///角色信息表 角色信息表
    ///</summary>
    [SugarTable("RoleInfo")]
    public partial class RoleInfo
    {
        public RoleInfo()
        {
        }

        /// <summary>
        /// Desc:编号 主键自增
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:角色ID
        /// Default:
        /// Nullable:False
        /// </summary>
        public int RoleID { get; set; }

        /// <summary>
        /// Desc:角色名称
        /// Default:
        /// Nullable:False
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// Desc:角色描述
        /// Default:
        /// Nullable:False
        /// </summary>
        public string RoleDescription { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>
        public DateTime? UpdateDate { get; set; }
    }
}